package com.dxyxx.pojo;

import java.io.Serializable;
import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 团类型。
 * 
 * A产品一人团、 直接调用order/add 买、 A产品二人团 B产品二人团 B产品二人团
 * 
 * @author Administrator
 * 
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Group implements Serializable{

	/**
	 * 余货。每下一单，少一个
	 */
	private int balance;
	private String bigImage;

	private Date deadline;

	private String description;

	private Long id;

	private String image;

	/** 人数 */
	private Integer personAmount;

	/** 每人价格 单价 */
	private Double personPrice;

	private Product product;

	private long productId;
	private boolean status;

	public int getBalance() {
		return balance;
	}

	public String getBigImage() {
		return bigImage;
	}

	public Date getDeadline() {
		return deadline;
	}

	public String getDescription() {
		return description;
	}

	public Long getId() {
		return id;
	}

	public String getImage() {
		return image;
	}

	public Integer getPersonAmount() {
		return personAmount;
	}

	public Double getPersonPrice() {
		return personPrice;
	}

	public Product getProduct() {
		return product;
	}

	public long getProductId() {
		return productId;
	}

	public boolean getStatus() {
		return status;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public void setBigImage(String bigImage) {
		this.bigImage = bigImage;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public void setPersonAmount(Integer personAmount) {
		this.personAmount = personAmount;
	}

	public void setPersonPrice(Double personPrice) {
		this.personPrice = personPrice;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

}
